package edu.xmut.yuepaibackend.utils;

import edu.xmut.yuepaibackend.model.domain.User;
import edu.xmut.yuepaibackend.model.vo.SimpleUserVO;

public class BeanCopyUtils {
    public static void fillSimpleUserVO(SimpleUserVO simpleUserVO, User user) {
        simpleUserVO.setUserId(user.getId());
        simpleUserVO.setNickname(user.getNickname());
        simpleUserVO.setAvatar(user.getAvatar());
    }
}
